package com.huawei.hms.common.internal;

import android.os.Parcelable;
import o.fjx;

public abstract class TaskApiCall<ClientT extends AnyClient, ResultT> {
    private final String a;
    private final String b;
    private Parcelable c;
    private String d;

    protected abstract void doExecute(ClientT clientT, ResponseErrorCode responseErrorCode, String str, fjx<ResultT> o_fjx_ResultT);

    @Deprecated
    public TaskApiCall(String str, String str2) {
        this.a = str;
        this.b = str2;
        this.c = null;
        this.d = null;
    }

    public TaskApiCall(String str, String str2, String str3) {
        this.a = str;
        this.b = str2;
        this.c = null;
        this.d = str3;
    }

    public String getUri() {
        return this.a;
    }

    public String getTransactionId() {
        return this.d;
    }

    public void setTransactionId(String str) {
        this.d = str;
    }

    public String getRequestJson() {
        return this.b;
    }

    public Parcelable getParcelable() {
        return this.c;
    }

    public void setParcelable(Parcelable parcelable) {
        this.c = parcelable;
    }
}
